﻿<!DOCTYPE html>
<html data-ng-app="ng4model">
<head>
  <style>
    /* This helps the ng-show/ng-hide animations start at the right place. */
    /* Since Angular has this but needs to load, this gives us the class early. */
    .ng-hide
    {
      display: none !important;
    }
  </style>
  <title data-ng-bind="title">Ng4Model Demo</title>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />

  <script>
    // Must be first. IE10 mobile viewport fix
    if ("-ms-user-select" in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/)) {
      var msViewportStyle = document.createElement("style");
      var mq = "@@-ms-viewport{width:auto!important}";
      msViewportStyle.appendChild(document.createTextNode(mq));
      document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
    }
  </script>
  @Styles.Render("~/content/app")
</head>
<body>
  <div>
    @Angular.NgInclude("/app/layout/shell.html")
    <div id="splash-page" data-ng-show="false">
      <div class="page-splash">
        <div class="page-splash-message">
          easy author is loading
        </div>
        <div class="progress progress-striped active page-progress-bar">
          <div class="bar"></div>
        </div>
      </div>
    </div>
  </div>

  <span data-cc-scroll-to-top></span>

  <!-- Vendor Scripts -->
  @Scripts.Render("~/scripts/vendor")
  <!-- App Scripts -->
  @Scripts.Render("~/scripts/app")
  <!-- Deliver datacontext.js based on EasyAuthorController -->
  <script src="~/EasyAuthorPortal/api/GetAngularDataContext"></script>

  <!-- controllers -->
  @*  <script src="~/Views/App/js/dashboard.js"></script>
  <script src="~/Views/App/js/admin.js"></script>
  <script src="~/Views/App/js/messagecenter.js"></script>*@

  <script src="@Url.Action("GetAngularControllers", "App")"></script>

  @*  <script src="~/Views/Project/js/index.js"></script>
  <script src="~/Views/Project/js/project.js"></script>
  <script src="~/Views/Project/js/opus.js"></script>
  <script src="~/Views/Project/js/newproject.js"></script>
  <script src="~/Views/Project/js/editproject.js"></script>*@
  <script src="@Url.Action("GetAngularControllers", "Project")"></script>

  @*@Scripts.Render("~/scripts/easyauthor/autocontrollers")*@

  @*  <script src="~/Views/Opus/js/controlling.js"></script>
  <script src="~/Views/Opus/js/marketing.js"></script>
  <script src="~/Views/Opus/js/overview.js"></script>
  <script src="~/Views/Opus/js/preview.js"></script>
  <script src="~/Views/Opus/js/publish.js"></script>*@

  <script src="@Url.Action("GetAngularControllers", "Opus")"></script>

</body>
</html>
